package com.example.child_protection.dao;


import com.example.child_protection.model.UserModel;
import org.springframework.stereotype.Repository;

/**
 * 用户信息dao
 * @author Biz
 * @date 2018-11-7
 */
@Repository
public interface UserDao extends BaseDao<UserModel,Long>  {

    /**
     * 登录
     * @return
     */
    public UserModel login(UserModel model);

    /**
     * 检测
     * @return
     */
    public UserModel check(UserModel model);

    /**
     * @Description: 修改登录时间
     * @return int
     */
    public int updatePreLoginTime( UserModel model );


}